<div id="gk-nav-wrap" class="clearfix">
	<?php if ($this->getParam('logoType') == 'image'): ?>
	<h1 class="logo">
		<a href="index.php" title="<?php echo $this->sitename(); ?>"><span><?php echo $this->sitename(); ?></span></a>
	</h1>
	<?php elseif($this->getParam('logoType') == 'text'): ?>
	<div class="logo-text">
		<h1><a href="index.php" title="<?php echo $this->sitename(); ?>"><span><?php echo GK_LOGO; ?></span></a></h1>
		<p class="site-slogan"><?php echo GK_SLOGAN;?></p>
	</div>		
	<?php endif; ?>
	
	<div id="gk-nav" class="clearfix">
		<div id="gk-mainnav" class="clearfix">
			<?php if (($gkmenu = $this->loadMenu())) $gkmenu->genMenu ($this->getParam('startlevel',0), $this->getParam('endlevel',-1)); ?>
		</div>
	
		<?php if( $this->countModules('search') ): ?>
		<div id="gk-search">
			<jdoc:include type="modules" name="search" style="none" />
		</div>
		<?php endif; ?>
	</div>
	
	<?php if ($this->hasSubmenu() && ($gkmenu = $this->loadMenu())) : ?>
	<div id="gk-subnav" class="clearfix">
		<?php $gkmenu->genMenu(1); ?>
	</div>
	<?php endif;?>
</div>

<ul class="no-display">
    <li><a href="<?php echo $this->getCurrentURL();?>#gk-content" title="<?php echo JText::_("Skip to content");?>"><?php echo JText::_("Skip to content");?></a></li>
</ul>